package com.tyut.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 评论表:
 */
@Data
@ToString
public class Remark {
    private Integer rid;      //id
    private Float rscore;     //用户评分 0-5星 FLOAT
    private String rtext;     //评价内容
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rtime;       //发表时间
    private Integer cid;      //用户id
    private Integer tid;      //旅游景点id

}
